package com.ekuaitu.kuaitu.bean;

/**
 * Created by Michael Pi on 2016/10/8.
 */
public class OrderDetailBean {

    /**
     * status : 200
     * message : 成功
     * debug : null
     * attachment : {"id":1443,"userId":119,"carId":59,"orderNum":"11920161020150003","status":10,"onLocationName":"锐创国际停车场","realPrice":0,"downLocationName":"","orderTime":1476946803000,"finishTime":1476946803000,"startBillingTime":1476946812000,"carModel":{"id":59,"userId":0,"picture":186,"brand":"比亚迪","model":"E6","licenseTag":"京NT55A3","electric":52,"mileage":166,"longitude":116.48564075278915,"latitude":40.00820050522034,"gradeId":2,"parkId":13,"valuationRuleModel":{"id":2,"weekDayPrice":100,"weekNightPrice":18,"weekendDayPrice":100,"weekendNightPrice":18,"dayTopPrice":50000,"businessWeekTopPrice":200000,"weekendTopPrice":78000,"fullWeekTopPrice":278000,"fullDayMiliSecond":86400000,"morningMiliSecond":1800000,"nightMiliSecond":37800000,"fridayMiliSecond":30600000},"parkName":null,"abatement":6,"companyByRisk":6}}
     */

    private int status;
    private String message;
    private Object debug;
    /**
     * id : 1443
     * userId : 119
     * carId : 59
     * orderNum : 11920161020150003
     * status : 10
     * onLocationName : 锐创国际停车场
     * realPrice : 0.0
     * downLocationName :
     * orderTime : 1476946803000
     * finishTime : 1476946803000
     * startBillingTime : 1476946812000
     * carModel : {"id":59,"userId":0,"picture":186,"brand":"比亚迪","model":"E6","licenseTag":"京NT55A3","electric":52,"mileage":166,"longitude":116.48564075278915,"latitude":40.00820050522034,"gradeId":2,"parkId":13,"valuationRuleModel":{"id":2,"weekDayPrice":100,"weekNightPrice":18,"weekendDayPrice":100,"weekendNightPrice":18,"dayTopPrice":50000,"businessWeekTopPrice":200000,"weekendTopPrice":78000,"fullWeekTopPrice":278000,"fullDayMiliSecond":86400000,"morningMiliSecond":1800000,"nightMiliSecond":37800000,"fridayMiliSecond":30600000},"parkName":null,"abatement":6,"companyByRisk":6}
     */

    private AttachmentBean attachment;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getDebug() {
        return debug;
    }

    public void setDebug(Object debug) {
        this.debug = debug;
    }

    public AttachmentBean getAttachment() {
        return attachment;
    }

    public void setAttachment(AttachmentBean attachment) {
        this.attachment = attachment;
    }

    public static class AttachmentBean {
        private String id;
        private String userId;
        private String carId;
        private String orderNum;
        private int status;
        private String onLocationName;
        private double realPrice;
        private String downLocationName;
        private long orderTime;
        private long finishTime;
        private long startBillingTime;
        private double carbonEmissionCar;
        private double carbonEmissionBike;

        public void setCarbonEmissionBike(double carbonEmissionBike) {
            this.carbonEmissionBike = carbonEmissionBike;
        }

        public double getCarbonEmissionBike() {
            return carbonEmissionBike;
        }

        /**
         * id : 59
         * userId : 0
         * picture : 186
         * brand : 比亚迪
         * model : E6
         * licenseTag : 京NT55A3
         * electric : 52
         * mileage : 166
         * longitude : 116.48564075278915
         * latitude : 40.00820050522034
         * gradeId : 2
         * parkId : 13
         * valuationRuleModel : {"id":2,"weekDayPrice":100,"weekNightPrice":18,"weekendDayPrice":100,"weekendNightPrice":18,"dayTopPrice":50000,"businessWeekTopPrice":200000,"weekendTopPrice":78000,"fullWeekTopPrice":278000,"fullDayMiliSecond":86400000,"morningMiliSecond":1800000,"nightMiliSecond":37800000,"fridayMiliSecond":30600000}
         * parkName : null
         * abatement : 6.0
         * companyByRisk : 6.0
         */
        private BikeModelBean bikeModel;
        private CarModelBean carModel;

        public void setCarbonEmissionCar(double carbonEmissionCar) {
            this.carbonEmissionCar = carbonEmissionCar;
        }

        public double getCarbonEmissionCar() {
            return carbonEmissionCar;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public String getCarId() {
            return carId;
        }

        public void setCarId(String carId) {
            this.carId = carId;
        }

        public String getOrderNum() {
            return orderNum;
        }

        public void setOrderNum(String orderNum) {
            this.orderNum = orderNum;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getOnLocationName() {
            return onLocationName;
        }

        public void setOnLocationName(String onLocationName) {
            this.onLocationName = onLocationName;
        }

        public double getRealPrice() {
            return realPrice;
        }

        public void setRealPrice(double realPrice) {
            this.realPrice = realPrice;
        }

        public String getDownLocationName() {
            return downLocationName;
        }

        public void setDownLocationName(String downLocationName) {
            this.downLocationName = downLocationName;
        }

        public long getOrderTime() {
            return orderTime;
        }

        public void setOrderTime(long orderTime) {
            this.orderTime = orderTime;
        }

        public long getFinishTime() {
            return finishTime;
        }

        public void setFinishTime(long finishTime) {
            this.finishTime = finishTime;
        }

        public long getStartBillingTime() {
            return startBillingTime;
        }

        public void setStartBillingTime(long startBillingTime) {
            this.startBillingTime = startBillingTime;
        }

        public CarModelBean getCarModel() {
            return carModel;
        }

        public void setCarModel(CarModelBean carModel) {
            this.carModel = carModel;
        }

        public BikeModelBean getBikeModel() {
            return bikeModel;
        }

        public void setBikeModel(BikeModelBean bikeModel) {
            this.bikeModel = bikeModel;
        }


        public static class CarModelBean {
            private String id;
            private String userId;
            private String picture;
            private String brand;
            private String model;
            private String licenseTag;
            private int electric;
            private int mileage;
            private double longitude;
            private double latitude;
            private int gradeId;
            private String parkId;


            /**
             * id : 2
             * weekDayPrice : 100
             * weekNightPrice : 18
             * weekendDayPrice : 100
             * weekendNightPrice : 18
             * dayTopPrice : 50000
             * businessWeekTopPrice : 200000
             * weekendTopPrice : 78000
             * fullWeekTopPrice : 278000
             * fullDayMiliSecond : 86400000
             * morningMiliSecond : 1800000
             * nightMiliSecond : 37800000
             * fridayMiliSecond : 30600000
             */


            private ValuationRuleModelBean valuationRuleModel;
            private Object parkName;
            private double abatement;
            private double companyByRisk;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getUserId() {
                return userId;
            }

            public void setUserId(String userId) {
                this.userId = userId;
            }

            public String getPicture() {
                return picture;
            }

            public void setPicture(String picture) {
                this.picture = picture;
            }

            public String getBrand() {
                return brand;
            }

            public void setBrand(String brand) {
                this.brand = brand;
            }

            public String getModel() {
                return model;
            }

            public void setModel(String model) {
                this.model = model;
            }

            public String getLicenseTag() {
                return licenseTag;
            }

            public void setLicenseTag(String licenseTag) {
                this.licenseTag = licenseTag;
            }

            public int getElectric() {
                return electric;
            }

            public void setElectric(int electric) {
                this.electric = electric;
            }

            public int getMileage() {
                return mileage;
            }

            public void setMileage(int mileage) {
                this.mileage = mileage;
            }

            public double getLongitude() {
                return longitude;
            }

            public void setLongitude(double longitude) {
                this.longitude = longitude;
            }

            public double getLatitude() {
                return latitude;
            }

            public void setLatitude(double latitude) {
                this.latitude = latitude;
            }

            public int getGradeId() {
                return gradeId;
            }

            public void setGradeId(int gradeId) {
                this.gradeId = gradeId;
            }

            public String getParkId() {
                return parkId;
            }

            public void setParkId(String parkId) {
                this.parkId = parkId;
            }

            public ValuationRuleModelBean getValuationRuleModel() {
                return valuationRuleModel;
            }

            public void setValuationRuleModel(ValuationRuleModelBean valuationRuleModel) {
                this.valuationRuleModel = valuationRuleModel;
            }

            public Object getParkName() {
                return parkName;
            }

            public void setParkName(Object parkName) {
                this.parkName = parkName;
            }

            public double getAbatement() {
                return abatement;
            }

            public void setAbatement(double abatement) {
                this.abatement = abatement;
            }

            public double getCompanyByRisk() {
                return companyByRisk;
            }

            public void setCompanyByRisk(double companyByRisk) {
                this.companyByRisk = companyByRisk;
            }

            public static class ValuationRuleModelBean {
                private String id;
                private int weekDayPrice;
                private int weekNightPrice;
                private int weekendDayPrice;
                private int weekendNightPrice;
                private int dayTopPrice;
                private int businessWeekTopPrice;
                private int weekendTopPrice;
                private int fullWeekTopPrice;
                private int fullDayMiliSecond;
                private int morningMiliSecond;
                private int nightMiliSecond;
                private int fridayMiliSecond;

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public int getWeekDayPrice() {
                    return weekDayPrice;
                }

                public void setWeekDayPrice(int weekDayPrice) {
                    this.weekDayPrice = weekDayPrice;
                }

                public int getWeekNightPrice() {
                    return weekNightPrice;
                }

                public void setWeekNightPrice(int weekNightPrice) {
                    this.weekNightPrice = weekNightPrice;
                }

                public int getWeekendDayPrice() {
                    return weekendDayPrice;
                }

                public void setWeekendDayPrice(int weekendDayPrice) {
                    this.weekendDayPrice = weekendDayPrice;
                }

                public int getWeekendNightPrice() {
                    return weekendNightPrice;
                }

                public void setWeekendNightPrice(int weekendNightPrice) {
                    this.weekendNightPrice = weekendNightPrice;
                }

                public int getDayTopPrice() {
                    return dayTopPrice;
                }

                public void setDayTopPrice(int dayTopPrice) {
                    this.dayTopPrice = dayTopPrice;
                }

                public int getBusinessWeekTopPrice() {
                    return businessWeekTopPrice;
                }

                public void setBusinessWeekTopPrice(int businessWeekTopPrice) {
                    this.businessWeekTopPrice = businessWeekTopPrice;
                }

                public int getWeekendTopPrice() {
                    return weekendTopPrice;
                }

                public void setWeekendTopPrice(int weekendTopPrice) {
                    this.weekendTopPrice = weekendTopPrice;
                }

                public int getFullWeekTopPrice() {
                    return fullWeekTopPrice;
                }

                public void setFullWeekTopPrice(int fullWeekTopPrice) {
                    this.fullWeekTopPrice = fullWeekTopPrice;
                }

                public int getFullDayMiliSecond() {
                    return fullDayMiliSecond;
                }

                public void setFullDayMiliSecond(int fullDayMiliSecond) {
                    this.fullDayMiliSecond = fullDayMiliSecond;
                }

                public int getMorningMiliSecond() {
                    return morningMiliSecond;
                }

                public void setMorningMiliSecond(int morningMiliSecond) {
                    this.morningMiliSecond = morningMiliSecond;
                }

                public int getNightMiliSecond() {
                    return nightMiliSecond;
                }

                public void setNightMiliSecond(int nightMiliSecond) {
                    this.nightMiliSecond = nightMiliSecond;
                }

                public int getFridayMiliSecond() {
                    return fridayMiliSecond;
                }

                public void setFridayMiliSecond(int fridayMiliSecond) {
                    this.fridayMiliSecond = fridayMiliSecond;
                }
            }
        }

        public static class BikeModelBean {
            /**
             * id : 154
             * bikeId : 154
             * picture : 0
             * brand : ????54
             * model : ????54
             * bikeType : 1
             * licenseTag :
             * useStatus : 102
             * lockStatus : 0
             * bikeStatus : 0
             * battery : 50
             * totalMileage : 100
             * geocode : wx4gdeqqb8r9
             * longitude : 116.62866539999999
             * latitude : 40.15224740000001
             * kuaituBikeValuationRule : 1
             * distance : null
             * price : null
             */

            private String id;
            private String bikeId;
            private String picture;
            private String brand;
            private String model;
            private int bikeType;
            private String licenseTag;
            private int useStatus;
            private int lockStatus;
            private  int lockType;
            private int bikeStatus;
            private int battery;
            private int totalMileage;
            private String geocode;
            private double longitude;
            private double latitude;
            private int kuaituBikeValuationRule;
            private String distance;
            private String price;

            public int getLockType() {
                return lockType;
            }

            public void setLockType(int lockType) {
                this.lockType = lockType;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getBikeId() {
                return bikeId;
            }

            public void setBikeId(String bikeId) {
                this.bikeId = bikeId;
            }

            public String getPicture() {
                return picture;
            }

            public void setPicture(String picture) {
                this.picture = picture;
            }

            public String getBrand() {
                return brand;
            }

            public void setBrand(String brand) {
                this.brand = brand;
            }

            public String getModel() {
                return model;
            }

            public void setModel(String model) {
                this.model = model;
            }

            public int getBikeType() {
                return bikeType;
            }

            public void setBikeType(int bikeType) {
                this.bikeType = bikeType;
            }

            public String getLicenseTag() {
                return licenseTag;
            }

            public void setLicenseTag(String licenseTag) {
                this.licenseTag = licenseTag;
            }

            public int getUseStatus() {
                return useStatus;
            }

            public void setUseStatus(int useStatus) {
                this.useStatus = useStatus;
            }

            public int getLockStatus() {
                return lockStatus;
            }

            public void setLockStatus(int lockStatus) {
                this.lockStatus = lockStatus;
            }

            public int getBikeStatus() {
                return bikeStatus;
            }

            public void setBikeStatus(int bikeStatus) {
                this.bikeStatus = bikeStatus;
            }

            public int getBattery() {
                return battery;
            }

            public void setBattery(int battery) {
                this.battery = battery;
            }

            public int getTotalMileage() {
                return totalMileage;
            }

            public void setTotalMileage(int totalMileage) {
                this.totalMileage = totalMileage;
            }

            public String getGeocode() {
                return geocode;
            }

            public void setGeocode(String geocode) {
                this.geocode = geocode;
            }

            public double getLongitude() {
                return longitude;
            }

            public void setLongitude(double longitude) {
                this.longitude = longitude;
            }

            public double getLatitude() {
                return latitude;
            }

            public void setLatitude(double latitude) {
                this.latitude = latitude;
            }

            public int getKuaituBikeValuationRule() {
                return kuaituBikeValuationRule;
            }

            public void setKuaituBikeValuationRule(int kuaituBikeValuationRule) {
                this.kuaituBikeValuationRule = kuaituBikeValuationRule;
            }

            public String getDistance() {
                return distance;
            }

            public void setDistance(String distance) {
                this.distance = distance;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }
        }
    }
}
